package com.shuangdj.databinding.bean;

import android.databinding.BaseObservable;
import android.databinding.Bindable;

import com.shuangdj.databinding.BR;

import java.util.List;

/**
 * Created by linxiaoke on 17/4/11.
 */

public class TestParentModel extends BaseObservable {
    private List<TestModel> testModels;

    public TestParentModel() {
    }

    @Bindable
    public List<TestModel> getTestModels() {
        return testModels;
    }

    public void setTestModels(List<TestModel> testModels) {
        this.testModels = testModels;
        notifyPropertyChanged(BR.testModels);
    }
}
